<div id="search-bar" class="page-layout simple fullwidth docs">

    <!-- HEADER -->
    <div class="header accent p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
        <div fxLayout="column" fxLayoutAlign="center start">
            <div fxLayout="row" fxLayoutAlign="start center">
                <mat-icon class="secondary-text s-18">home</mat-icon>
                <mat-icon class="secondary-text s-16">chevron_right</mat-icon>
                <span class="secondary-text">Documentation</span>
                <mat-icon class="secondary-text s-16">chevron_right</mat-icon>
                <span class="secondary-text">Components</span>
            </div>
            <div class="h2 mt-16">Search Bar</div>
        </div>
    </div>
    <!-- / HEADER -->

    <!-- CONTENT -->
    <div class="content p-24">

        <p>
            <code>base-search-bar</code> is a custom built Base component allows you to have a search bar that activates
            on click.
        </p>

        <div class="section-title">Usage</div>
        <p class="py-8">
            <base-highlight lang="html">
                <textarea #source>
                    <base-search-bar (input)="search($event)"></base-search-bar>
                </textarea>
            </base-highlight>
        </p>

        <div class="section-title">Outputs</div>
        <p class="py-8" fxLayout="row" fxLayoutAlign="start center">
            <code class="mr-8">input</code>
            <span>Triggers every time an input occurs within the search bar. Can be used to trigger the actual
                search mechanism. The $event is the value from the search input.
            </span>
        </p>

    </div>

</div>

